var s= "<li><span class='sign'></span><p class='news'>欢迎使用</p></li>"
$(function(){
	
	$.ajax({
		type:'post',
		url:server_url+'rest/getNoticeList.do',
		dataType:'json',
		error:function(){},
		success:function(data){
			var s = "";
			var rows = data.data.rows;
			for(var i=0;i<rows.length;i++){
				if(rows[i].status=="00"){
					s += "<li><span class='sign'></span><p class='news'>"+rows[i].msgContent+"</p></li>"
				}else{
					s += "<li><p class='news'>"+rows[i].msgContent+"</p></li>"
				}
			}
			$("#newsList").html(s);
		}
	});
	
});